Scan Document AddScript

Add a script to the ScanDocument. The script can be used to control and automate the marking process.

Scan Document requires at least one instruction defining how the marking operation should proceed. The simplest form of an instruction is the ScannALL() command that tells the marking processor to mark all the shapes in the file in the order they have defined.

public void AddScript(string name, string script)

 

Return value

void  

 

Parameters

string name Name of the script to add
string script Script to be added

 

Example

Copy
// Add the script to the scan document. ScanAll() refers to the default script.
scanDocument.AddScript("defaultScript", "ScanAll()");